﻿using System;

namespace HonBlogPub.Util
{
    public class NativeConsts
    {
        /// <summary>
        /// Message Foramt : String
        /// </summary>
        public const int MF_String = 0x0;
        /// <summary>
        /// Message Format : Separator
        /// </summary>
        public const int MF_Separator = 0x800;
        /// <summary>
        /// Message Foramt : System Command
        /// </summary>
        public const Int32 WM_SysCommand = 0x112;

        //public const int WS_POPUP = -2147483648;
        /// <summary>
        /// WS_System menu
        /// </summary>
        public const int WS_SYSMENU = 524288;

        /// <summary>
        /// DS_3D look style
        /// </summary>
        public const int DS_3DLOOK = 4;
        /// <summary>
        /// max box
        /// </summary>
        public const int WS_MAXIMIZEBOX = 65536;
        /// <summary>
        /// 自定义菜单的ID号
        /// 对于多个窗体都需要自定义菜单的情况
        /// 应该改变这个值
        /// </summary>
        public const int ID_CustomMenu = 1000;
        /// <summary>
        /// WM_Set redraw
        /// </summary>
        public const int WM_SETREDRAW = 0xB;
        /// <summary>
        /// WM_NCPAINT
        /// </summary>
        public const int WM_NCPAINT = 0X85;

        public const int WM_PAINT = 0x000F;
        public const int WM_ERASEBKGND = 0x0014;
        public const int WM_SIZE = 0x0005;

        public const int WM_KEYDOWN = 0x100;
        public const int WM_KEYUP = 0x101;

        public const int SW_SHOWNORMAL = 1;
    }
}
